package com.gloaba.common.mq.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class BaseMessage implements Serializable {

    private static final long serialVersionUID = -5925414950485967445L;

    /**
     * 请求id
     */
    private String requestId;

    /**
     * 对象id
     */
    private String objectId;

    /**
     * 对象类型
     */
    private String objectType;

    /**
     * 消息类型
     */
    private String messageType;

    /**
     * 扩展属性
     */
    private Map<String, Object> attrs;
}
